﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apps.Excel
{
    public class ExcelDataResource
    {
        /// <summary>
        /// 页签名称
        /// </summary>
        public string SheetName { get; set; }

        /// <summary>
        /// 标题所在行
        /// </summary>
        public int TitleIndex { get; set; }

        /// <summary>
        /// 每一行的数据
        /// </summary>
        public List<object> SheetDataResource { get; set; }

    }


    public class UserInfo
    {
        [Title(Title = "用户Id")]
        public int UserId { get; set; }

        [Title(Title = "用户名称")]
        public string UserName { get; set; }

        [Title(Title ="年龄")]
        public int Age { get; set; }

        [Title(Title = "用户类型")]
        public int UserType { get; set; }

        public string Description { get; set; }

    }


    public class ClassInfo
    {
        [Title(Title = "班级id")]
        public int ClassId { get; set; }

        [Title(Title = "班级名称")]
        public string ClassName { get; set; }
    }




}
